<template>
  <div class="advisory_nav" @click="$router.push({path:'/news'})">
      <div class="left">
           <slot name="left"></slot>
      </div>
      <div class="right">
           <slot name="right"></slot>
      </div>
  </div>
</template>

<script>
export default {
    name:'AdvisoryNav',
    data(){
        return{}
    }
}
</script>

<style lang="less" scoped>
.advisory_nav{
    display: flex;
    height: 20px; 
    .left{
        flex:1;
        height: 100%;
    }
    line-height: 20px;
    .right{ 
        margin-top: 6px;
        width: 50px;
    }
}

</style>